<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>起始页 - 我的博客</title>
    <link rel="stylesheet" href="assets/css/colors.css">
    <link rel="stylesheet" href="assets/css/nav.css">
    <link rel="stylesheet" href="assets/css/pages/start.css">
</head>
<body class="start-page">
    <!-- 导航栏 -->
    <header>
        <nav>
            <a href="index.html" class="logo">我的博客</a>
            <div class="nav-container">
                <ul class="nav-links">
                    <li class="nav-dropdown">
                        <a href="index.html">首页</a>
                        <div class="dropdown-content">
                            <a href="start.html" class="active">起始页</a>
                            <a href="column.html">专栏</a>
                        </div>
                    </li>
                    <li class="nav-dropdown">
                        <a href="record.html">记录</a>
                        <div class="dropdown-content">
                            <a href="record.html">生活倒影</a>
                            <a href="study.html">学习</a>
                        </div>
                    </li>
                    <li class="nav-dropdown">
                        <a href="album.html">相册</a>
                        <div class="dropdown-content">
                            <a href="album_2024.html">2024</a>
                            <a href="album_2023.html">2023</a>
                            <a href="album_2022.html">2022</a>
                            <a href="album_2021.html">2021</a>
                        </div>
                    </li>
                    <li><a href="message.html">留言</a></li>
                </ul>
                <div class="nav-auth">
                    <a href="auth.html" class="login-btn">登录</a>
                    <div class="auth-divider"></div>
                    <a href="admin.html" class="admin-btn">管理</a>
                </div>
            </div>
        </nav>
    </header>

    <div class="content-wrapper">
        <div class="time-display">
            <div class="time">2:45</div>
            <div class="date">
                <div class="lunar">甲辰年 十一月廿一</div>
                <div class="solar">12月21日 周六</div>
            </div>
        </div>

        <div class="search-container">
            <div class="search-box">
                <input type="text" placeholder="搜点什么呢">
                <div class="search-btn">
                    <svg viewBox="0 0 24 24" width="18" height="18">
                        <path fill="currentColor" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
                    </svg>
                </div>
            </div>
        </div>
    </div>

    <script>
        // 更新时间的函数
        function updateTime() {
            const now = new Date();
            const hours = now.getHours();
            const minutes = now.getMinutes().toString().padStart(2, '0');
            const displayHours = hours.toString().padStart(2, '0');

            document.querySelector('.time').innerHTML = 
                `${displayHours}:${minutes}`;
        }

        // 每秒更新一次时间
        setInterval(updateTime, 1000);
        updateTime(); // 初始化时间显示
    </script>
    <script src="assets/js/nav.js"></script>
</body>
</html>